package kr.hkit.powerjava.chapter11;

public class ParentsTest {
	public static void main(String[] args) {
		Parents papa = new Parents();
		papa.setAdd("신암동");
		papa.setCall("010-0000-0001");
		papa.setName("박상속");
		
		Boy son = new Boy(papa.name, papa.add, papa.call, 10, 500000);
		
		System.out.println(papa);
		System.out.println(son);
	}
}
